package com.nsn.das.midas.service.assembler;

import org.codehaus.jettison.json.JSONArray;
import org.codehaus.jettison.json.JSONObject;

import com.nsn.das.midas.model.mml.data.MMLClassData;
import com.nsn.das.midas.model.user.DASUser;

public interface CommandClassAssembler extends CommonAssembler{
	public MMLClassData retriveClassDataFromJson(JSONArray array) throws Exception;
	
	public MMLClassData retriveClassDataFromJson(JSONObject data, DASUser editor) throws Exception;
	
	public JSONObject buildClassDataJson(long id) throws Exception;
	
	public JSONArray buildClassDataListJson(int pageIndex, int pageSize);
	
	public JSONArray buildAvailableLetterJson();
}
